<template>
	<view>
		<my-login v-if="!token"></my-login>
		<user-info v-else></user-info>
	</view>
</template>

<script>
	import {mapState} from 'vuex'
	import tarbar_badge from '../../mixins/tarbar_badge';
	export default {
		mixins:[tarbar_badge],
		data() {
			return {
				
			};
		},
		computed:{
			...mapState('my_user',['token'])
		}
	}
</script>

<style lang="scss">

</style>
